package com.mall.model.domain.ums;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import lombok.Data;
import java.io.Serializable;

@Data
@TableName("ums_permission")
public class Permission implements Serializable {
 private static final long serialVersionUID = 1L;

    //
    private Long id;
    //父级权限id
    private Long pid;
    //名称
    private String name;
    //权限值
    private String value;
    //图标
    private String icon;
    //权限类型：0->目录；1->菜单；2->按钮（接口绑定权限）
    private Integer type;
    //前端资源路径
    private String uri;
    //启用状态；0->禁用；1->启用
    private Integer status;
    //创建时间
    private Date createTime;
    //排序
    private Integer sort;
}